home *** CD-ROM | disk | FTP | other *** search
- Path: winternet.com!not-for-mail
- From: jdege@winternet.com (Jeff Dege)
- Newsgroups: comp.lang.eiffel,comp.lang.ada,comp.edu,comp.lang.c,comp.lang.c++,comp.lang.modula2,comp.lang.modula3
- Subject: Re: Hungarian notation
- Followup-To: comp.lang.eiffel,comp.lang.ada,comp.edu,comp.lang.c,comp.lang.c++,comp.lang.modula2,comp.lang.modula3
- Date: 6 Jan 1996 18:00:35 GMT
- Organization: StarNet Communications, Inc
- Distribution: world
- Message-ID: <4cmdc3$qhb@blackice.winternet.com>
- References: <30C40F77.53B5@swsbbs.com> <4behis$3cl@dux.dundee.ac.uk>
- NNTP-Posting-Host: klondike.winternet.com
- X-Newsreader: TIN [UNIX 1.3 950726BETA PL0]
-
- On 06 Jan 1996 10:39:00 +0100, Joachim Durchholz (jhd@herold.franken.de) wrote:
- : andy@wndrwrks.demon.co.uk wrote 05.01.96 on Re: Hungarian notation:
- : >
- : > someProc(MyString)
- : > someProc(pszMyString)
- :
- : This example does not occur in real life. Or rather, it better should not!
- : Anybody using meaningless names like "MyString" should be thrown out of
- : the programming business. Depending on the actual semantics of "someProc",
- : the parameter should be called "Message" or "Options" or "ParserInput" or
- : whatever.
-
- Not necessarily. True, there are application functions that deal with
- application objects, but there are also utility functions that deal with
- generic objects. Consider:
-
- void stripTrailingWhiteSpace(string &aString);
-
- --
- Nearly every electrical engineer believes deep in his heart that he
- is better at writing computer software than any computer programmer,
- and can show as proof the fact that he has written a number of small
- applications, each of which was done quickly, easily, and exactly met
- his needs.
-
-